"use strict";
var require = require(["http://cdn.socket.io/stable/socket.io", "core"], function() {
    Geo.Socket.App = function(app) {
        if (app == undefined) throw new Geo.Exception("application is undefined");
        this.app = app;

        
        
    };

    //http://phrogz.net/JS/classes/OOPinJS2.html
    Geo.Socket.Client = function () {
        this.socket = new WebSocket('http://localhost');
        this.socket.onmessage = this.onmessage;
    };
    Geo.Socket.Client.prototype.send = function (data) {
        this.socket.send(data);
    };
    Geo.Socket.Client.prototype.onmessage = function(message) {
    };


    Geo.Socket.Position = function() {};
    Geo.Socket.Position.inherit(Geo.Socket.Client);
    Geo.Socket.Client.prototype.onmessage = function (message) {
    };
    
});

